package com.eascs.web.o2o.web.reward.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.eascs.web.o2o.web.reward.dao.BaseDao;
import com.eascs.web.o2o.web.reward.entity.Province;
import com.eascs.web.o2o.web.reward.service.ProvinceNameData;

@Service
public class ProvinceNameDataImpl implements ProvinceNameData {

	@Autowired
	BaseDao baseDao;
	
	@Override
	public List<Province> getProvinceNameData() {
		String sql = "SELECT * FROM dim_reward_province ";
		return baseDao.findEntitys(sql, Province.class);
	}

}
